import { TComponent } from '@material/typeing';
import $style from './index.scss';
import { FC } from 'react';

export interface DividerProps extends TComponent {
    direction?: 'horizontal' | 'vertical';
}
const Divider: FC<DividerProps> = function (props) {
    const { children } = props;
    return <div className={$style.divider}>{children}</div>;
};

export default Divider;
